import sys

if len(sys.argv) > 1:
    filename = sys.argv[1]
    file = open (filename)
    data = file.read()
    file.close()

    print "Doxygen=\"" + str(data.count(": warning: ")) + "\""
else:
    print "Usage:"
    print "> convertor_doxygen <filename>"
    print
    print "Example:"
    print "> convertor_doxygen my_doxygen_output.txt"
